package com.chaodev.base.service;

import com.github.pagehelper.PageInfo;
import com.chaodev.base.dto.InteractionGameDto;
import com.chaodev.base.model.InteractionGame;

import java.util.List;

public interface InteractionGameService {

    /**
     * 新增互动游戏
     * @param interactionGame
     * @return
     */
    boolean addInteractionGame(InteractionGame interactionGame);

    /**
     * 修改互动游戏
     * @param interactionGame
     * @return
     */
    boolean editInteractionGame(InteractionGame interactionGame);

    /**
     * 保存互动游戏
     * @param interactionGame
     * @return
     */
    boolean saveInteractionGame(InteractionGame interactionGame);

    /**
     * 删除互动游戏
     * @param interactionGame
     * @return
     */
    boolean removeInteractionGame(InteractionGame interactionGame);

    /**
     * 查询互动游戏列表
     * @param interactionGameDto
     * @return
     */
    List<InteractionGame> getInteractionGameList(InteractionGameDto interactionGameDto);

    /**
     * 查询单条互动游戏
     * @param interactionGame
     * @return
     */
    InteractionGame getInteractionGameById(InteractionGame interactionGame);

    /**
     * 查询互动游戏列表分页
     * @param interactionGameDto
     * @return
     */
    PageInfo<InteractionGame> getInteractionGamePage(InteractionGameDto interactionGameDto);
    
}
